<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${this[0].getText("project_name")}</title>
<link type="text/css" href="${base}/static/css/style.css" rel="stylesheet" rev="stylesheet" />
<link rel="stylesheet" type="text/css" href="${base}/static/js/ext/resources/css/tree.css" />
<script type="text/javascript" src="${base}/static/js/jquery.js"></script>
<script type="text/javascript" src="${base}/static/js/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="${base}/static/js/ext/ext-all.js"></script>
<script type="text/javascript">
	function checkSubmit(){
		return false;
	}
	var treedata = ${citydatas};
	
	Ext.BLANK_IMAGE_URL = '${base}/static/js/ext/resources/images/default/s.gif';
	Ext.onReady(function(){
	    // shorthand
	    var Tree = Ext.tree;
	    
	    var tree = new Tree.TreePanel({
	        el:'tree-div',
	        useArrows:false,
	        autoScroll:true,
	        animate:false,
	        enableDD:false,
	        containerScroll: true, 
	        loader: new Tree.TreeLoader({
				preloadChildren: true,
				clearOnLoad: false
			})
	    });
	
	    // set the root node
	    var root = new Tree.AsyncTreeNode({
	        text: '四川省',
	        draggable:false,
			expanded:true,
	        id:'0',
			children:treedata
	    });
	    tree.setRootNode(root);
	
	    // render the tree
	    tree.render();
	    root.expand(true);
			
		
	});

</script>

</head>
<body>
<div class="main_content">
<br/>
<h2>城市组织机构</h2>
	<table width="95%" border="0" cellspacing="0" cellpadding="0">
		<tr valign="top">
			<td width="307">
				<div id="tree-div" style="overflow:auto; height:400px;width:200px;border:1px solid #c3daf9;margin:5px 15px;"></div>
			</td>
		</tr>
	</table>
</div>	
</body>
</html>